<%@ page language="java"  import="java.util.*, java.lang.*"  contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<% String ctx= request.getContextPath();
request.setAttribute("ctx", ctx);
%>
<html>
<head>
	<meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1"><title>Insert title here</title>
    <link href="${ctx }/js/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet">
    <style type="text/css">
    .common_menu_width{width: 15%;}
    .common_menu_ul_width{width: 80%;}
    </style>
</head>
<body>

	<nav class="navbar navbar-default">
	 <div class="container-fluid">
	 	<div class="container">
	 		
	 		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
		     <ul class="nav navbar-nav common_menu_ul_width">
		       <li class="common_menu_width"><a href="#">首页</a></li>
		       <li  class="common_menu_width"><a href="#">书城</a></li>
		       <li class="dropdown common_menu_width">
		         <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">爬虫 <span class="caret"></span></a>
		         <ul class="dropdown-menu">
		          <li role="separator" class="divider"></li>
		           <li><a href="${ctx }/pages/crawler/singleBook.jsp">单本书爬取</a></li>
		           <li role="separator" class="divider"></li>
		           <li><a href="${ctx }/pages/crawler/allsite.jsp">全站爬取</a></li>
		           <li role="separator" class="divider"></li>
		           <li><a href="${ctx }/pages/crawler/queryproc.jsp">查询过程</a></li>
		         </ul>
		       </li>
		       <li  class="common_menu_width"><a href="#">书城</a></li>
		       <li  class="common_menu_width"><a href="#">书城</a></li>
		       <li  class="common_menu_width"><a href="#">书城</a></li>
		     </ul>
		   </div>
	 	</div>
	 </div>
	</nav>

    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="${ctx }/js/jquery-3.1.1.min.js"></script>
    <script src="${ctx }/js/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
    <script type="text/javascript">
    </script>
</body>
</html>


